home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / programs / gapdemo1.zip / ARCTRANS.BAT next >
DOS Batch File  |  1992-06-25  |  361b  |  18 lines

  1. @echo off
  2.  
  3. REM Batch file to extract a file out of an ARC or ZIP so that
  4. REM the file can be downloaded individually (instead of having
  5. REM to download the entire archive).
  6.  
  7. If %3 == ZIP Goto DOZIP
  8. If %3 == ARC Goto DOARC
  9. Goto END
  10. :DOZIP
  11. Pkunzip -o %2 %1\ %4
  12. Pkzip -m  %1\%5 %1\%4
  13. Goto END
  14. :DOARC
  15. Pkunpak -r %2 %1\ %4
  16. Pkpak -a %1\%5 %1\%4
  17. :END
  18.